# Contributor: Pedro Filipe <xpecex@outlook.com>
# Contributor: 
# Maintainer: 
pkgname=vblade
pkgver=24
pkgrel=0
pkgdesc="A virtual AoE blade server"
url="https://github.com/OpenAoE/vblade"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="linux-headers"
install=""
subpackages="$pkgname-doc"
source="https://github.com/OpenAoE/$pkgname/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgname-$pkgver

build() {
	cd "$builddir"
	make CFLAGS="$CFLAGS"
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/sbin
	mkdir -p "$pkgdir"/usr/share/man/man8
	make sbindir="$pkgdir"/usr/sbin mandir="$pkgdir"/usr/share/man install
}

sha512sums="d5db85581db119b83a129fc00635d37b6d8fccfaf685dc58c68773c7299f7fe4e01735ec7fea6a0494a0cf2bc1400d643a720b55e4d6de37a0b8ec15d00d1f2a  vblade-24.tar.gz"
